package com.ningxia.water.service.impl;

import com.ningxia.water.entity.TsLicenseInfo;
import com.ningxia.water.mapper.TsLicenseInfoMapper;
import com.ningxia.water.service.ITsLicenseInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ningxia.water.vo.out.LicenseVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hz
 * @since 2021-05-14
 */
@Service
public class TsLicenseInfoServiceImpl extends ServiceImpl<TsLicenseInfoMapper, TsLicenseInfo> implements ITsLicenseInfoService {

    @Autowired
    private TsLicenseInfoMapper licenseInfoMapper;

    @Override
    public List<LicenseVo> getLicenseInfo(String applicantName, String license, String start, String end) {
        List<LicenseVo> list = licenseInfoMapper.getLicenseInfo(applicantName, license, start, end);
        return list;
    }

}
